) is one to note under here.
Styles - Emphasis, etc.
Links - Hypertext links TO and FROM other points, plus images.
Lists - All kinds.
Forms - The elements for building forms.
Tables - The elements for building tables.
Character Entities - The entities for characters, for example ƒ is
ü. The "short" list at the top can be added to
with the "Add" item. All possible entities are
on the "all" menu.
Other Elements - Things which don't fit elsewhere.
Select Container - Selects matching tags which include the current
selection. Repeated, it expands the selection.
Like the "Balance" item under the Edit menu.
Untag - Removes a tag pair surrounding the current position
or selection.
Remove Marks - Removes the Ñ's throughout the document.
New doc template - Produces , and elements.
URLs - Everything for managing the URL cache.
HTML mode accumulates a list of the URLs you use in
your HREFs, and saves the list across invocations of Alpha
(so it can help you to put in new URLs rapidly). After
a while this list can get large. When you select "Clean
up" you will be presented with a list. Use the
mouse to shift-click and select the URLs you want to keep.
The rest will be expunged. If you select text, or copy
text from another application into the Mac clipboard, you
can insert this into the URL cache as a new URL.
Use Attributes - You don't have to be asked about all possible
attributes for every element. You can select
which ones you want to be asked about. HTML Mode
comes configured to ask about the most popular ones.
HTML Helpers - You can launch various applications to view/check your
HTML.
================================================================================
= Key Bindings
================================================================================
If you are using the default options, almost all key bindings are on
control-option, except for a few conflicts which I put on
shift-control-option and a few miscellaneous ones.
Here are the bindings, with comments, straight from html.tcl.
#
# new file template and headers
#
ctl-opt-0 NewTemplate # 0 before any headers
ctl-opt-1 Header1
ctl-opt-2 Header2
ctl-opt-3 Header3
ctl-opt-4 Header4
ctl-opt-5 Header5
ctl-opt-6 Header6
#
# Blocks
#
ctl-opt-Return Paragraph
Enter Paragraph # for powerbooks
ctrl-M Paragraph
ctl-opt-; Comment
ctl-opt-a Address
ctl-opt-q Blockquote # q for quote
ctl-opt-p Preformatted
# CENTER doesn't have a binding, since it will most likely go away
#
# Styles
#
ctl-opt-e Emphasized
ctl-opt-s Strong
ctl-opt-b Bold
ctl-opt-c Code
ctl-opt-v Varname
shift-ctl-opt-c Cite
ctl-opt-k Keyboard
ctl-opt-i Italic
ctl-opt-f TT
#
# Links
#
ctl-opt-, Anchor # "<" is something pointed at
ctl-opt-. Href # ">" points to it
ctl-opt-/ Image # "/" is right next to ">"
#
# Lists
#
ctl-opt-u Bulleted (UL)
ctl-opt-o Numbered (OL)
ctl-opt-d Directory
ctl-opt-m Menu
ctl-opt-n ListEntry # n is for 'eNtry'
ctl-opt-g BuildDiscList # g is for 'Glossary'
shift-ctl-opt-n DiscEntry # N, eNtry with shift key
#
# Forms
#
shift-ctl-opt-f Form
shift-ctl-opt-s Select
shift-ctl-opt-o Option
shift-ctl-opt-i Input
shift-ctl-opt-t Textarea
#
# Character entities
#
# Only <, > and & are bound, to shift-cmd-opt-
ctrl-C L commentline # for internal aesthetics
#
# Miscellaneous
#
cmd-B select container
shift-ctl-opt-u untag around the selection
cmd-shift-s launch a browser
Tab TabNext
Shift-Tab TabPrevious
================================================================================
= Other Possible Key Bindings
================================================================================
It is possible to change the keybindings in two ways. First, by changing
the variables htmlPrefixString and htmlSPrefixString (see below, and
remember to change the Menu-related strings as well). Second, by using
the Alpha 'bind' command.
Here are some simple bindings, included as samples of what is possible.
For example, if you are using an international keyboard to produce German
HTML, you might put these lines in your prefs.html (under the Edit
menu). For more complicated examples see the html.tcl source.
bind 0x27 {insertText "Ä\;"} "HTML"
bind 0x27 {insertText "ä\;"} "HTML"
bind 0x29 {insertText "Ö\;"} "HTML"
bind 0x29 {insertText "ö\;"} "HTML"
bind 0x21 {insertText "Ü\;"} "HTML"
bind 0x21 {insertText "ü\;"} "HTML"
bind 0x1b {insertText "ß\;"} "HTML"
================================================================================
= User-Settable Flags and Variables
================================================================================
HTML mode is highly customizable. You can modify its behavior in one
of three ways.
If you don't know what any of the following means, ignore it for now.
You will eventually.
(1) Most HTML variables are simple things, for example the number of
entries you want in a new discursive list. Almost all are set by
using the Flags menu (click on the little flag on the side of the
window the HTML file is in -- if you don't see the mode's flags and
variables, select "Mode Info" near the bottom of the menu and try
again).
FLAGS
-----
wordWrap - Newlines are automatically inserted as you type. The
default is 1, lines will be wrapped.
prefixString - The string to begin an HTML comment, and the one to
suffixString - end a comment. Generally a bad idea to change these.
useStatusBar - If an element has attributes, and this is set, the
attributes will be asked about in the status bar.
Otherwise they will be asked about in popup prompt
windows. The default is 0, do not use the status bar.
When using popups, an attribute can be skipped by
clicking "cancel" or pressing cmd-..
When using the status bar, at any point pressing cmd-v
will paste the contents of the clipboard. Also, at
any point the tab key will match what you have typed
against your options, and complete what you have typed
as much as possible. For example, when prompted with
"align=", you can type "m" and tab, and Alpha will fill
in "iddle". When you are entering a URL, if you hit
tab twice in a row, you will be presented with a menu
of URLs you have used before. To approve the selection
press return. You can also back up over what has been
filled in and change it. Try the tab key even when
nothing is showing. Understanding how best to use it
takes some use.
promptNoisily - If useStatusBar is set, Alpha will beep when
asking for element attribute information there. The
default is 1, do beep.
useLowerCase - If 0, elements will be like
; if 1, like
.
The default is 0, upper case.
useTabMarks - If 0, will not insert the Ñ characters. The
default is 1, to insert them.
allContainers - If set,
,